from page.page_app_csdn_login import PageAppCsdnLogin
from page.page_mail_write_letter import PageMailWriteLetter
from page.page_sy_login import PageSyLogin
from page.zo_page_check_workbench import ZoPageCheckWorkBench
from page.zo_page_search_check import ZoPageSearchCheck
from page.zo_page_search_history import ZoPageSearchHistory


class PageIn:
    def __init__(self, driver):
        self.driver = driver

    def page_get_PageSyLogin(self):
        return PageSyLogin(self.driver)

    # 获取page_mail_write_letter对象
    def page_get_PageMailWriteLetter(self):
        return PageMailWriteLetter(self.driver)

    # 获取PageAppCsdnLogin对象
    def page_get_PageAppCsdnLogin(self):
        return PageAppCsdnLogin(self.driver)

    # 获取ZoPageCheckWorkBench对象
    def page_get_ZoPageCheckWorkBench(self):
        return ZoPageCheckWorkBench(self.driver)

    # 获取 ZoPageSearchCheck对象
    def page_get_ZoPageSearchCheck(self):
        return ZoPageSearchCheck(self.driver)

    # 获取 ZoPageSearchHistory对象
    def page_get_ZoPageSearchHistory(self):
        return ZoPageSearchHistory(self.driver)
